package cn.lds.j375.chlm.serivce;

import cn.lds.j375.chlm.dto.ResultDTO;
import cn.lds.j375.chlm.entity.Menu;
import cn.lds.j375.chlm.exception.ChlmException;

import java.util.List;

public interface MenuService {

    ResultDTO<List<Menu>> selectMenuAll() throws ChlmException;


    ResultDTO<Menu> selectMenuById(Integer id) throws ChlmException;

    ResultDTO addMenu(Menu menu) throws ChlmException;

    ResultDTO modifyMenu(Menu menu) throws ChlmException;

    ResultDTO removeMenuById(Integer id) throws ChlmException;


}
